package eteam.aps.systeminterface.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @description : 字典类型表Dto
 */
@Data
@TableName(value = "sp_dictype")
public class DictypeEntity implements Serializable {
    /**
     * 编码
     */
    @TableId(value = "FCode", type = IdType.INPUT)
    private String fcode;
    /**
     * 名称
     */
    @TableField(value = "FName")
    private String fname;
    /**
     * 创建时间
     */
    @TableField(value = "FCreateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fcreatetime;
    @TableField(value = "Sort")
    private Integer sort;
}
